class ProfitItemModel {
  final String order_name;
  final int order_bean;
  final String create_time;

  const ProfitItemModel({
    required this.order_name,
    required this.order_bean,
    required this.create_time,
  });

  factory ProfitItemModel.fromJson(Map<String, dynamic> json) {
    return ProfitItemModel(
      order_name: json['order_name']?.toString() ?? '',
      order_bean: json['order_bean'] ?? 0,
      create_time: json['create_time']?.toString() ?? '',
    );
  }

  // Map<String, dynamic> toJson() => _$ProfitItemModelToJson(this);
}


/*

 

class WalletCardModel {
  final int isShowWithdraw;
  final int value;
  final String cardName;
  final String key;

  WalletCardModel({
    required this.isShowWithdraw,
    required this.value,
    required this.cardName,
    required this.key,
  });

  factory WalletCardModel.fromJson(Map<String, dynamic> json) {
    return WalletCardModel(
      isShowWithdraw: json['is_show_withdraw'],
      value: json['value'],
      cardName: json['card_name'],
      key: json['key'],
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'is_show_withdraw': isShowWithdraw,
      'value': value,
      'card_name': cardName,
      'key': key,
    };
  }
}


*/